.class public Lcom/estrongs/android/pop/app/ShowDialogActivity;
.super Lcom/estrongs/android/pop/esclasses/ESActivity;
.source "ShowDialogActivity.java"


# instance fields
.field private d:J

.field private e:Z


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;-><init>()V

    const-wide/16 v0, -0x1

    .line 2
    iput-wide v0, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    const/4 v0, 0x0

    .line 3
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->e:Z

    return-void
.end method

.method private A()V
    .locals 3

    .line 1
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v1, 0x7f110105

    .line 2
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    const v1, 0x7f11073e

    .line 3
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/pop/app/ShowDialogActivity$f;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$f;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;)V

    const v2, 0x7f110077

    .line 4
    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/pop/app/ShowDialogActivity$e;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$e;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;)V

    const v2, 0x7f110299

    .line 5
    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/pop/app/ShowDialogActivity$d;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$d;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;)V

    .line 6
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/content/DialogInterface$OnDismissListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 7
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    const/4 v1, 0x0

    .line 8
    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/ShowDialogActivity;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    return-wide v0
.end method

.method private a(Landroid/content/Intent;)V
    .locals 4

    .line 2
    invoke-virtual {p1}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {v0}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v0

    .line 3
    new-instance v1, Lcom/estrongs/android/ui/dialog/q;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/dialog/q;-><init>(Landroid/content/Context;)V

    const-string v2, "title"

    .line 4
    invoke-virtual {p1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/dialog/q;->setTitle(Ljava/lang/CharSequence;)V

    const-string v2, "message"

    .line 5
    invoke-virtual {p1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/dialog/q;->setMessage(Ljava/lang/CharSequence;)V

    .line 6
    new-instance v2, Lcom/estrongs/android/pop/app/ShowDialogActivity$n;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$n;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;)V

    invoke-virtual {v1, v2}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    if-nez v0, :cond_0

    return-void

    :cond_0
    :try_start_0
    const-string v2, "pathIsDir"

    const/4 v3, 0x0

    .line 7
    invoke-virtual {p1, v2, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result p1

    if-nez p1, :cond_1

    const-string p1, "/"

    .line 8
    invoke-virtual {v0, p1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result p1

    :cond_1
    xor-int/lit8 p1, p1, 0x1

    const v2, 0x7f11075c

    if-eqz p1, :cond_2

    .line 9
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_2

    const p1, 0x7f11075b

    .line 10
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-instance v3, Lcom/estrongs/android/pop/app/ShowDialogActivity$o;

    invoke-direct {v3, p0, v0, v1}, Lcom/estrongs/android/pop/app/ShowDialogActivity$o;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;Ljava/lang/String;Lcom/estrongs/android/ui/dialog/q;)V

    invoke-virtual {v1, p1, v3}, Lcom/estrongs/android/ui/dialog/q;->setConfirmButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 11
    invoke-virtual {p0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-instance v2, Lcom/estrongs/android/pop/app/ShowDialogActivity$a;

    invoke-direct {v2, p0, v0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$a;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;Ljava/lang/String;)V

    invoke-virtual {v1, p1, v2}, Lcom/estrongs/android/ui/dialog/q;->setCancelButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    goto :goto_0

    .line 12
    :cond_2
    new-instance v3, Lcom/estrongs/android/pop/app/ShowDialogActivity$b;

    invoke-direct {v3, p0, v0, p1}, Lcom/estrongs/android/pop/app/ShowDialogActivity$b;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;Ljava/lang/String;Z)V

    .line 13
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->M1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_3

    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/pcs/f;->j()Z

    move-result p1

    if-eqz p1, :cond_3

    .line 14
    invoke-virtual {p0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, p1, v3}, Lcom/estrongs/android/ui/dialog/q;->setConfirmButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    const p1, 0x7f1107ae

    .line 15
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-instance v0, Lcom/estrongs/android/pop/app/ShowDialogActivity$c;

    invoke-direct {v0, p0, v1}, Lcom/estrongs/android/pop/app/ShowDialogActivity$c;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;Lcom/estrongs/android/ui/dialog/q;)V

    invoke-virtual {v1, p1, v0}, Lcom/estrongs/android/ui/dialog/q;->setCancelButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    goto :goto_0

    .line 16
    :cond_3
    invoke-virtual {p0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, p1, v3}, Lcom/estrongs/android/ui/dialog/q;->setSingleButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 17
    :goto_0
    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/q;->show()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception p1

    .line 18
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :goto_1
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 11

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object p1

    const-wide/16 v0, -0x1

    const-string v2, "task_id"

    .line 3
    invoke-virtual {p1, v2, v0, v1}, Landroid/content/Intent;->getLongExtra(Ljava/lang/String;J)J

    move-result-wide v2

    iput-wide v2, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    const/4 v2, 0x0

    const-string v3, "resume_task"

    .line 4
    invoke-virtual {p1, v3, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v3

    const-string v4, "task_title"

    if-eqz v3, :cond_1

    .line 5
    iget-wide v0, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v0, v1}, Lcom/estrongs/android/ui/notification/d;->a(J)Les/s80;

    move-result-object v8

    if-eqz v8, :cond_0

    .line 6
    move-object v0, v8

    check-cast v0, Les/z60;

    iget-object v0, v0, Les/z60;->N:Lcom/estrongs/fs/g;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/fs/f;->u(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 7
    new-instance v0, Lcom/estrongs/android/ui/dialog/a1;

    invoke-virtual {p1, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    const/4 v9, 0x1

    const/4 v10, 0x1

    move-object v5, v0

    move-object v6, p0

    invoke-direct/range {v5 .. v10}, Lcom/estrongs/android/ui/dialog/a1;-><init>(Landroid/app/Activity;Ljava/lang/String;Les/s80;ZZ)V

    .line 8
    invoke-virtual {v0, v2}, Lcom/estrongs/android/ui/dialog/a1;->c(Z)Lcom/estrongs/android/ui/dialog/a1;

    .line 9
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/a1;->show()V

    .line 10
    new-instance p1, Lcom/estrongs/android/pop/app/ShowDialogActivity$g;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$g;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;)V

    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/dialog/a1;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    goto/16 :goto_1

    .line 11
    :cond_0
    new-instance v0, Lcom/estrongs/android/ui/dialog/a1;

    invoke-virtual {p1, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    const-string v1, "task_source_names"

    .line 12
    invoke-virtual {p1, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    const-string v1, "count_info"

    .line 13
    invoke-virtual {p1, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    const-string v1, "source"

    .line 14
    invoke-virtual {p1, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    const-string v1, "target"

    .line 15
    invoke-virtual {p1, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    const/4 v10, 0x1

    move-object v3, v0

    move-object v4, p0

    invoke-direct/range {v3 .. v10}, Lcom/estrongs/android/ui/dialog/a1;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V

    .line 16
    invoke-virtual {v0, v2}, Lcom/estrongs/android/ui/dialog/a1;->c(Z)Lcom/estrongs/android/ui/dialog/a1;

    .line 17
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/a1;->show()V

    .line 18
    new-instance p1, Lcom/estrongs/android/pop/app/ShowDialogActivity$h;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$h;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;)V

    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/dialog/a1;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    goto/16 :goto_1

    .line 19
    :cond_1
    iget-wide v5, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    const-string v3, "notification"

    const-string v7, "notification_id"

    const/4 v8, -0x1

    cmp-long v9, v5, v0

    if-eqz v9, :cond_9

    .line 20
    invoke-static {v5, v6}, Les/s80;->a(J)Les/s80;

    move-result-object v0

    if-eqz v0, :cond_7

    .line 21
    sget-object v1, Les/zi;->m:Ljava/util/Map;

    iget-wide v5, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v3

    invoke-interface {v1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/zi;

    const-string v3, "needAuth"

    .line 22
    invoke-virtual {p1, v3, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v3

    if-nez v3, :cond_5

    if-eqz v1, :cond_2

    goto :goto_0

    .line 23
    :cond_2
    sget-object v0, Lcom/estrongs/android/ui/dialog/a1;->r:Ljava/util/Map;

    iget-wide v5, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_3

    .line 24
    sget-object p1, Lcom/estrongs/android/ui/dialog/a1;->r:Ljava/util/Map;

    iget-wide v0, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->show()V

    .line 25
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    goto/16 :goto_1

    .line 26
    :cond_3
    iget-wide v0, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v0, v1}, Les/s80;->a(J)Les/s80;

    move-result-object v0

    if-nez v0, :cond_4

    .line 27
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    return-void

    .line 28
    :cond_4
    new-instance v0, Lcom/estrongs/android/ui/dialog/a1;

    .line 29
    invoke-virtual {p1, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iget-wide v3, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v3, v4}, Les/s80;->a(J)Les/s80;

    move-result-object v3

    const-string v4, "creatreNotification"

    invoke-virtual {p1, v4, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result p1

    invoke-direct {v0, p0, v1, v3, p1}, Lcom/estrongs/android/ui/dialog/a1;-><init>(Landroid/app/Activity;Ljava/lang/String;Les/s80;Z)V

    .line 30
    invoke-virtual {v0, v2}, Lcom/estrongs/android/ui/dialog/a1;->c(Z)Lcom/estrongs/android/ui/dialog/a1;

    .line 31
    new-instance p1, Lcom/estrongs/android/pop/app/ShowDialogActivity$l;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$l;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;)V

    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/dialog/a1;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 32
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/a1;->show()V

    const/4 p1, 0x1

    .line 33
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->e:Z

    goto/16 :goto_1

    :cond_5
    :goto_0
    if-eqz v1, :cond_6

    .line 34
    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/q;->dismiss()V

    .line 35
    sget-object p1, Les/zi;->m:Ljava/util/Map;

    iget-wide v3, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-interface {p1, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 36
    :cond_6
    const-class p1, Les/v80$b;

    invoke-virtual {v0, p1}, Les/s80;->a(Ljava/lang/Class;)Les/v80$c;

    move-result-object p1

    check-cast p1, Les/v80$b;

    .line 37
    new-instance v1, Les/zi;

    iget-object v3, p1, Les/v80$b;->e:Ljava/lang/String;

    invoke-direct {v1, p0, v3}, Les/zi;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    .line 38
    invoke-virtual {v1, v2}, Landroid/app/Dialog;->setCancelable(Z)V

    const/16 v2, 0x8

    .line 39
    invoke-virtual {v1, v2}, Les/zi;->a(I)V

    .line 40
    new-instance v2, Lcom/estrongs/android/pop/app/ShowDialogActivity$i;

    invoke-direct {v2, p0, p1, v0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$i;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;Les/v80$b;Les/s80;)V

    invoke-virtual {v1, v2}, Les/zi;->a(Les/zi$c;)V

    const v2, 0x7f110299

    .line 41
    invoke-virtual {p0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lcom/estrongs/android/pop/app/ShowDialogActivity$j;

    invoke-direct {v3, p0, p1, v0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$j;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;Les/v80$b;Les/s80;)V

    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/ui/dialog/q;->setCancelButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 42
    new-instance p1, Lcom/estrongs/android/pop/app/ShowDialogActivity$k;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$k;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;)V

    invoke-virtual {v1, p1}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 43
    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/q;->show()V

    .line 44
    sget-object p1, Les/zi;->m:Ljava/util/Map;

    iget-wide v2, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto/16 :goto_1

    .line 45
    :cond_7
    invoke-virtual {p1, v7, v8}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    if-eq v0, v8, :cond_8

    .line 46
    invoke-virtual {p0, v3}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/NotificationManager;

    invoke-virtual {p1, v7, v8}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result p1

    invoke-virtual {v0, p1}, Landroid/app/NotificationManager;->cancel(I)V

    .line 47
    :cond_8
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    goto/16 :goto_1

    :cond_9
    const-string v0, "openfileOrFolder"

    .line 48
    invoke-virtual {p1, v0, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_a

    .line 49
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/ShowDialogActivity;->a(Landroid/content/Intent;)V

    const v0, 0x7f110041

    .line 50
    invoke-virtual {p0, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    const-string v1, "title"

    invoke-virtual {p1, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_f

    .line 51
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v0, "act3"

    const-string v1, "click_download_progress"

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/statistics/b;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    :cond_a
    const-string v0, "compress"

    .line 52
    invoke-virtual {p1, v0, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_c

    .line 53
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "application"

    invoke-virtual {p1, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_b

    .line 54
    invoke-virtual {p1, v7, v8}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    if-eq v0, v8, :cond_b

    .line 55
    invoke-virtual {p0, v3}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/NotificationManager;

    invoke-virtual {p1, v7, v8}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result p1

    invoke-virtual {v0, p1}, Landroid/app/NotificationManager;->cancel(I)V

    .line 56
    :cond_b
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    goto :goto_1

    :cond_c
    const-string v0, "stop_ftp_server"

    .line 57
    invoke-virtual {p1, v0, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_d

    .line 58
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/ShowDialogActivity;->A()V

    goto :goto_1

    :cond_d
    const-string v0, "openApkFile"

    .line 59
    invoke-virtual {p1, v0, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_e

    .line 60
    invoke-virtual {p1}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object p1

    invoke-virtual {p1}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object p1

    .line 61
    new-instance v0, Lcom/estrongs/android/ui/dialog/g;

    invoke-static {p1}, Lcom/estrongs/fs/impl/local/f;->f(Ljava/lang/String;)Lcom/estrongs/fs/impl/local/d;

    move-result-object p1

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/ui/dialog/g;-><init>(Landroid/app/Activity;Lcom/estrongs/fs/g;)V

    new-instance p1, Lcom/estrongs/android/pop/app/ShowDialogActivity$m;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/app/ShowDialogActivity$m;-><init>(Lcom/estrongs/android/pop/app/ShowDialogActivity;)V

    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/dialog/g;->a(Landroid/content/DialogInterface$OnDismissListener;)Lcom/estrongs/android/ui/dialog/g;

    .line 62
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/g;->a()V

    goto :goto_1

    :cond_e
    const-string v0, "perm_update_dialog"

    .line 63
    invoke-virtual {p1, v0, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result p1

    if-eqz p1, :cond_f

    .line 64
    invoke-static {p0}, Les/yw;->b(Landroid/app/Activity;)V

    :cond_f
    :goto_1
    return-void
.end method

.method protected onDestroy()V
    .locals 5

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->e:Z

    if-eqz v0, :cond_0

    iget-wide v0, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    const-wide/16 v2, -0x1

    cmp-long v4, v0, v2

    if-eqz v4, :cond_0

    sget-object v2, Lcom/estrongs/android/ui/dialog/a1;->r:Ljava/util/Map;

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    invoke-interface {v2, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    sget-object v0, Lcom/estrongs/android/ui/dialog/a1;->r:Ljava/util/Map;

    iget-wide v1, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/Dialog;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 3
    sget-object v0, Lcom/estrongs/android/ui/dialog/a1;->r:Ljava/util/Map;

    iget-wide v1, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/Dialog;

    invoke-virtual {v0}, Landroid/app/Dialog;->dismiss()V

    .line 4
    sget-object v0, Lcom/estrongs/android/ui/dialog/a1;->r:Ljava/util/Map;

    iget-wide v1, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 5
    :cond_0
    sget-object v0, Les/zi;->m:Ljava/util/Map;

    iget-wide v1, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Les/zi;

    if-eqz v0, :cond_1

    .line 6
    invoke-virtual {v0}, Landroid/app/Dialog;->getContext()Landroid/content/Context;

    move-result-object v0

    if-ne v0, p0, :cond_1

    .line 7
    sget-object v0, Les/zi;->m:Ljava/util/Map;

    iget-wide v1, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 8
    iget-wide v0, p0, Lcom/estrongs/android/pop/app/ShowDialogActivity;->d:J

    invoke-static {v0, v1}, Les/s80;->a(J)Les/s80;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 9
    const-class v1, Les/v80$b;

    invoke-virtual {v0, v1}, Les/s80;->a(Ljava/lang/Class;)Les/v80$c;

    move-result-object v1

    check-cast v1, Les/v80$b;

    const/4 v2, 0x1

    .line 10
    iput-boolean v2, v1, Les/v80$b;->h:Z

    const/4 v3, 0x5

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v4, 0x0

    aput-object v1, v2, v4

    .line 11
    invoke-virtual {v0, v3, v2}, Les/s80;->b(I[Ljava/lang/Object;)V

    .line 12
    :cond_1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onDestroy()V

    return-void
.end method
